import QtQuick 2.0
import ShowTextModule 1.0

Rectangle {
    id:button

    width: 100
    height: 50
    color: "red"

    ShowText{
        id:showText
    }

    Text {
        id: name
        text: qsTr("hello world")
    }

    MouseArea{
        anchors.fill: parent
        onClicked: {
            name.text = showText.showText;
        }
    }
}
